<?php

namespace app\models\user\gc;

use Yii;

/**
 * This is the model class for table "{{%user_shebei_gc}}".
 *
 * @property int $id
 * @property int $uid
 * @property string|null $shebei 设备信息,json格式
 */
class UserShebeiGcModel extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%user_shebei_gc}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid'], 'required'],
            [['uid'], 'integer'],
            [['shebei'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'shebei' => 'Shebei',
        ];
    }
}
